<%@ Import Namespace="Curriculum.Modelo.Clases" %>
<%@ Register TagPrefix="cc1" Namespace="Pluspetrol.Core.UIControls.WebControls" Assembly="Pluspetrol.Core.UIControls" %>
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="ABMAdministradores.ascx.cs" Inherits="ConcursoCV.UI.WebUserControls.Administrador.ABMAdministradores" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<table cellSpacing="-1" cellPadding="-1" width="100%">
	<tr>
		<td class="titulo_1">&nbsp;Administradores</td>
	</tr>
	<tr>
		<td>
			<table cellSpacing="0" cellPadding="0" width="100%">
				<tr>
					<td colSpan="7">&nbsp;</td>
				</tr>
				<tr>
					<td width="15%">&nbsp;</td>
					<td class="label" width="10%">Apellido :</td>
					<td width="24%">&nbsp;
						<asp:textbox id="txtApellido" CssClass="controles" Width="100%" runat="server"></asp:textbox></td>
					<td width="2%">&nbsp;</td>
					<td class="label" width="10%">Nombre :</td>
					<td width="24%"><asp:textbox id="txtNombre" CssClass="controles" Width="100%" runat="server"></asp:textbox></td>
					<td width="15%">&nbsp;</td>
				</tr>
				<tr>
					<td class="espacio" colSpan="7">&nbsp;</td>
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td align="right" colSpan="5"><asp:button id="btnBuscar" CssClass="boton" Runat="server" Text="Buscar"></asp:button>&nbsp;&nbsp;<asp:button id="btnLimpiar" CssClass="boton" Runat="server" Text="Limpiar"></asp:button></td>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td colSpan="7">&nbsp;</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td class="separador">&nbsp;</td>
	</tr>
	<tr>
		<td class="titulo_2">Listado de Administradores</td>
	</tr>
	<tr>
		<td><asp:datagrid id="dtgAdministradores" Width="100%" runat="server" AllowSorting="True" AutoGenerateColumns="False"
				AllowPaging="True">
				<AlternatingItemStyle CssClass="AlternatingItemStyle"></AlternatingItemStyle>
				<ItemStyle CssClass="ItemStyle"></ItemStyle>
				<HeaderStyle CssClass="HeaderGrid"></HeaderStyle>
				<Columns>
					<asp:BoundColumn Visible="False" DataField="Id" HeaderText="Id"></asp:BoundColumn>
					<asp:BoundColumn DataField="Apellido" SortExpression="Apellido" HeaderText="Apellido"></asp:BoundColumn>
					<asp:BoundColumn DataField="Nombre" SortExpression="Nombre" HeaderText="Nombre"></asp:BoundColumn>
					<asp:TemplateColumn HeaderText="Ver">
						<HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle"></HeaderStyle>
						<ItemStyle HorizontalAlign="Center" Width="10%"></ItemStyle>
						<ItemTemplate>
							<asp:ImageButton ID="btnView" CommandName="View" Runat="server" ImageUrl="../../img/icons/VIEWITEM.GIF"></asp:ImageButton>
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn HeaderText="Modificar">
						<HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle"></HeaderStyle>
						<ItemStyle HorizontalAlign="Center" Width="10%"></ItemStyle>
						<ItemTemplate>
							<asp:ImageButton ID="btnModify" CommandName="Modify" Runat="server" ImageUrl="../../img/icons/EDITITEM.GIF"></asp:ImageButton>
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn HeaderText="Eliminar">
						<HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle"></HeaderStyle>
						<ItemStyle HorizontalAlign="Center" Width="10%"></ItemStyle>
						<ItemTemplate>
							<cc1:ConfirmImageButton id="btnDelete" runat="server" CommandName="Delete" ImageUrl="../../img/icons/DELETEITEM.GIF"
								ToolTip="Eliminar" ConfirmMessage="&iquest;Est&aacute; seguro que desea eliminar al administrador?"></cc1:ConfirmImageButton>
						</ItemTemplate>
					</asp:TemplateColumn>
				</Columns>
				<PagerStyle HorizontalAlign="Center" BackColor="WhiteSmoke" CssClass="txtTtlAzulBold" Mode="NumericPages"></PagerStyle>
			</asp:datagrid></td>
	</tr>
	<tr>
		<td class="bordeGrillaDeAbajo" align="right">
			<table cellSpacing="0" cellPadding="0" width="100%">
				<tr>
					<td align="left">&nbsp; # Cantidad de registros:
						<asp:label id="lblCount" runat="server"></asp:label></td>
					<td align="right"><asp:button id="btnNuevo" CssClass="boton" runat="server" Text="Nuevo Administrador"></asp:button></td>
				</tr>
			</table>
		</td>
	</tr>
</table>
